package com.matt.repository.article;

import com.matt.domain.article.Article;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2018/11/22
 * *******************************
 */
public interface ArticleRepository extends JpaRepository<Article, String>,JpaSpecificationExecutor<Article>{
	 List<Article> findByTypeId(Integer id);
}
